<?php
class user_tab extends tab {
    
    /**
     * 验证规则
     *
     * @var unknown_type
     */
    public $validate = array(
        array(
            'key'       => 'uname',
            'type'      => 0,
            'rule'      => 'require',
            'msg'       => '请输入帐号!',
            'filter'    => array('filter' , 'text')
        ),
        array(
            'key'       => 'passwd',
            'type'      => 0,
            'rule'      => 'passwd',
            'msg'       => '请输入密码!'
        ),
        array(
            'key'       => 'desc',
            'type'      => 0,
            'rule'      => 'require',
            'msg'       => '请输入介绍!'
        ),
    );
    
    
    public $default = array(
        'name'     => 'test',
        'regdate'  => REQUEST_TIME
    );
    
    public function getlist(){
        
    }
}
?>